package fuckTest;

/**
 * Created by Administrator on 2017/7/25.
 * 变量a是一个64位有符号的整数，初始值用16进制表示为：0x7FFFFFFFFFFFFFFF;
 * 变量b是一个64位有符号的整数，初始值用16进制表示为：0x8000000000000000。则a+b的结果用10进制表示为多少？
 */

public class Base {

    static String baseName = "base";
    public Base() {
        callName();
    }

    public void callName() {
        System. out. println(baseName);
    }

    static class Sub extends Base {
        static String baseName = "sub";
        public void callName()
        {
            System. out. println (baseName) ;
        }
    }

    public static void main(String[] args) {
        Base b = new Sub();
    }
}